package com.tianshi.yingxue.service;

import com.tianshi.yingxue.entity.User;
import com.tianshi.yingxue.vo.UserVO;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface UserService {
    UserVO queryPage(int page,int pageSize);
    String uploadHeadImg(MultipartFile headImg,String oldImg) throws IOException;
    void addUser(User user);
    User queryById(int id);
    void updateUser(User user);
    void deleteUser(int id);
    void exportUserExcel(javax.servlet.http.HttpServletResponse response) throws IOException;
}
